package com.dataseek.iot.device.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dataseek.iot.toolkit.mybatis.entity.BaseEntity;
import lombok.Data;

@Data
@TableName(value = "tenant.device_att_value")
public class DeviceAttrValue  {

    //主鍵id
    @TableId(value = "id")
    private Long id;

    @TableField(value = "device_code")
    private String deviceCode;

    @TableField(value = "att_code")
    private String attCode;

    @TableField(value = "att_value")
    private float attValue;

    @TableField(value = "pdt_code")
    private String pdtCode;

    @TableField(value = "att_name")
    private String attName;

    @TableField(value = "att_type")
    private String attType;

    @TableField(value = "data_type")
    private String dataType;

    @TableField(value = "read_flag")
    private String readFlag;
}
